/*
 *  Filename:      gsl_string.h
 *  Author:         Erick Huang<erickhuang1989@gmail.com>
 *  Revised:       2013-06-04
 *  Description:   Complement Various string handling routines for C.
 *
 *  Copyright (c) Erick Huang. All rights reserved.
 */
#ifndef GSL_STRING_H
#define GSL_STRING_H

#ifdef __cplusplus
extern "C" {
#endif  /*__cplusplus*/

#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include "gsl_defs.h"

extern char * gsl_strdup(const char *src);
extern char * gsl_strndup(const char *src, UINT32 n);
extern char * gsl_strdup_vprintf(const char *fmt, va_list ap);
extern char * gsl_strdup_printf(const char *fmt, ...);

extern char * gsl_strcpy(char *dest, const char *src);
extern UINT32 gsl_strlcpy(char *dest, const char *src, UINT32 buf_size);








#ifdef __cplusplus
}
#endif  /*__cplusplus*/

#endif  /* GSL_STRING_H */

